import delay from './mock/delay';
import { createPromise } from './util';
import Mock from 'mockjs';
export const history = (data) => {
  return createPromise(Mock.mock(delay['history']));
}
/** 车辆类型统计 */
export const carType = (data) => {
  return createPromise(Mock.mock(delay['carType']));
}
/** 整体时延分布 */
export const whole = (data) => {
  return createPromise(Mock.mock(delay['whole']));
}
/** 协同感知时延分布  */
export const perception = (data) => {
  return createPromise(Mock.mock(delay['perception']));
}
